package com.rerun.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.rerun.entity.MemberUser;
import com.rerun.entity.vo.JobIntentionVo;
import com.rerun.vo.memberUser.StudentVo;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * The interface Member user mapper.
 */
public interface MemberUserMapper extends BaseMapper<MemberUser>{

    /**
     * Select student page list.
     *
     * @param page      the page
     * @param studentVo the student vo
     * @return the list
     */
    List<StudentVo> selectStudentPage(Page<StudentVo> page, StudentVo studentVo);

    /**
     * Select by phone member user.
     *
     * @param phone the phone
     * @return the member user
     */
    MemberUser   selectByPhone(@Param("phone") String phone);
    
    /**
     * 通过用户id获取 个人信息
     */
    JobIntentionVo  selectMemberMessage(@Param("memberId") String memberId);
    
}
